home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4644 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: ifi.uio.no!usenet
  2. From: ludvigp@ifi.uio.no (Ludvig Pedersen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: CHIP RAM speed test results
  5. Date: 2 Mar 1996 16:36:24 GMT
  6. Organization: Dept. of Informatics, University of Oslo, Norway
  7. Message-ID: <1383.6635T1034T2205@ifi.uio.no>
  8. References: <1067.6635T1081T1567@direktor.voima.jkl.fi>
  9. NNTP-Posting-Host: gymir.ifi.uio.no
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12. >Because there's so much talk about the chip ram speed and chunky
  13. >conversions I decided to time some values myself.
  14. >Machine used:  A1200/030/28MHz, all caches & bursts on.  Both tests took
  15. >over the system and disabled all interrupts, fmode was %11.
  16. >Test 1: 320x256x8 screen
  17. >------------------------
  18. >Copy $14000 bytes (screenful) of data from fast to chip using the following
  19. >routine:
  20. >loop:
  21. > rept 8
  22. >        move.l (a0)+,(a1)+
  23. > endr
  24. >       dbf     d0,loop
  25.  
  26. >Time: 336 rasterlines = 21.5 ms (50Hz=20ms=one frame=312 rasterlines, I
  27. >think)
  28. >Test 2: 320x256x5 screen
  29. >------------------------
  30. >Copy $c800 bytes, otherwise the same as above.
  31. >Time: 196 rasterlines = 12.6 ms
  32. >So if all Amigas have about the same chip ram speed it's impossible to do a
  33. >50Hz 320x256x8 chunky to planar screen, even if you had a 060/80MHz.
  34.  
  35. You are using a *slow* loop, my 2 pass c2p is actually faster than your copy.
  36. :-)
  37.  
  38. Use this:
  39.  
  40. .loop:
  41.         move.l (a0)+,d0
  42.         move.l d0,(a1)+
  43.         dbra   d7,.loop
  44.  
  45. and see if the speed improves! (Was faster on my 030/50mhz)
  46.  
  47. BTW:
  48.  
  49. It is possible to do 1x1 fullscreen c2p on a 040 with a scrambled buffer
  50. 50 fps, but then you don't have any time left for rendering! :-/
  51.  
  52. The only reason why c2p is for free is because chipram is so damn slow! :((
  53.  
  54.  
  55. <sb>Ludde - Amiga Demo Coder
  56. <sb>Virtual Reality & Official Be developer
  57. <sb>ludvigp@ifi.uio.no
  58.  
  59.